RewriteEngine on

# set up redirect so /join always goes to our join page
RewriteRule ^join/index.html     /pages/join.html   [R=permanent,last]
RewriteRule ^join/               /pages/join.html   [R=permanent,last]

# set up redirects from urls of the moveabletype version of the site to
# the pyblosxom version of the site
RewriteRule ^about/index.html    /pages/about.html  [R=permanent,last]
RewriteRule ^blog/index.html     /news/index.html   [R=permanent,last]

RewriteRule ^about/    /pages/about.html  [R=permanent,last]
RewriteRule ^blog/     /news/index.html   [R=permanent,last]

# rewrite rules for old locations of blog entries to new ones
RewriteRule ^2011/06/version-002---we-can-haz-pages/index.html  /news/version-002---we-can-haz-pages.html  [R=permanent,last]
RewriteRule ^2011/05/gnu-mediagoblin-free-and-decentralized-media-sharing-in-development/index.html /news/gnu-mediagoblin-free-and-decentralized-media-sharing-in-development.html  [R=permanent,last]
RewriteRule ^2011/05/goals-for-our-first-alpha-release/index.html  /news/goals-for-our-first-alpha-release.html  [R=permanent,last]
RewriteRule ^2011/05/join-us-for-the-upcoming-gnu-mediagoblin-hackers-meeting/index.html /news/join-us-for-the-upcoming-gnu-mediagoblin-hackers-meeting.html  [R=permanent,last]

RewriteRule ^2011/06/version-002---we-can-haz-pages/  /news/version-002---we-can-haz-pages.html  [R=permanent,last]
RewriteRule ^2011/05/gnu-mediagoblin-free-and-decentralized-media-sharing-in-development/ /news/gnu-mediagoblin-free-and-decentralized-media-sharing-in-development.html  [R=permanent,last]
RewriteRule ^2011/05/goals-for-our-first-alpha-release/  /news/goals-for-our-first-alpha-release.html  [R=permanent,last]
RewriteRule ^2011/05/join-us-for-the-upcoming-gnu-mediagoblin-hackers-meeting/ /news/join-us-for-the-upcoming-gnu-mediagoblin-hackers-meeting.html  [R=permanent,last]
